package com.aegean.CommercialHotelBookSystem.room.dao;

import java.util.List;

import org.hibernate.Session;

import com.aegean.CommercialHotelBookSystem.model.Hotel;
import com.aegean.CommercialHotelBookSystem.model.Room;

public interface IRoomDao {
	public Hotel searchHotel(String name);

	public Session getSession();

	public void closeSession();

	public boolean addRoom(int Hotel_Id, String Hotel_Name, Room one);

	public List<Room> searchRoomList(Hotel one,int intpage, int intpagesize,
			String bedType, String date);

	public int searchRoomListCount(Hotel one,String bedType, String date);
	public boolean updateRoom(int Room_Id, String Room_Name,
			float Room_TotalMoney, float Room_Discount, int Room_Count,
			String Room_Type, String Room_Date);
	public boolean deleteRoom(int Room_Id);
}
